﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WorkflowDialog.aspx.cs" EnableEventValidation ="false" Inherits="BEGDC.CC.Web.Workflow.Dialog.WorkflowDialog" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
<title>Workflow Operation Message</title>
    <base target="_self" />
                <link href="../../css/global.css" type="text/css" rel="stylesheet" />
    <link href="../../css/ezmain.css" type="text/css" rel="stylesheet" />

    <script type="text/javascript" language="javascript">
        function myLoad()
        {
            setInterval("autoClose()", 6000);
        }
        
        function autoClose()
        {
            var disabled = document.getElementById('btnOK').disabled;
            if (!disabled)
            {
                document.getElementById('btnOK').click();
            }
        }
    </script>  
</head>
<body onload="myLoad();" style="background:none;">
    <form id="form1" runat="server">
        <table width="100%" cellpadding="0" cellspacing="0" border="0">
            <tr>
                <td style="text-align:center; vertical-align:top; padding-top:10px; width:50%">
                    <asp:Image ID="imgLogo" Width="149" runat="server" ImageUrl="~/images/logo2.gif" /></td>
                <td style="vertical-align:middle; text-align:left">
                    <span id="lblInfo" style="font-weight:bold" runat="server">
                    </span>
                </td>
            </tr>
            <tr>
                <td></td>
                <td style="text-align:center; height: 30px;">
                    <asp:Button ID="btnOK" runat="server" Text="OK" Width="80px" OnClientClick="document.getElementById('btnOK').disabled = true; self.close();" CssClass="btn" />
                </td>
            </tr>
            <tr style="display:none">
                <td style="height: 20px"></td>
                <td style="text-align:right; padding-right:10px; height:20px;" >
                    <span style="color:Blue" id="lblNow" runat="server"></span>
                </td>
            </tr>
            <tr>
                <td colspan="2" style="padding-left:40px; padding-right:40px; padding-top:10px">
                    <div style="float:left; text-align:right; vertical-align:top; width:20%">
                        <span id="lblMemo" runat="server"></span>
                    </div>
                    <div style="float:left; width:80%">
                        <span id="lblMemoContent" runat="server"></span>
                    </div>
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
